<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
		<title>
			<?php echo CHtml::encode($this->pageTitle);?>
		</title>
		<!--<script type="text/javascript" src="<?php echo Yii::app()->theme->baseUrl . '/' ?>js/jquery-1.3.2.js"></script>-->
		<script type="text/javascript" src="<?php echo Yii::app()->theme->baseUrl . '/' ?>js/ui/ui.core.js"></script>
		<script type="text/javascript" src="<?php echo Yii::app()->theme->baseUrl . '/' ?>js/superfish.js"></script>
		<script type="text/javascript" src="<?php echo Yii::app()->theme->baseUrl . '/' ?>js/live_search.js"></script>
		<script type="text/javascript" src="<?php echo Yii::app()->theme->baseUrl . '/' ?>js/tooltip.js"></script>
		<script type="text/javascript" src="<?php echo Yii::app()->theme->baseUrl . '/' ?>js/cookie.js"></script>
		<script type="text/javascript" src="<?php echo Yii::app()->theme->baseUrl . '/' ?>js/ui/ui.sortable.js"></script>
		<script type="text/javascript" src="<?php echo Yii::app()->theme->baseUrl . '/' ?>js/ui/ui.draggable.js"></script>
		<script type="text/javascript" src="<?php echo Yii::app()->theme->baseUrl . '/' ?>js/ui/ui.resizable.js"></script>
		<script type="text/javascript" src="<?php echo Yii::app()->theme->baseUrl . '/' ?>js/ui/ui.dialog.js"></script>
		<script type="text/javascript" src="<?php echo Yii::app()->theme->baseUrl . '/' ?>js/custom.js"></script>

		<link href="<?php echo Yii::app()->theme->baseUrl . '/' ?>css/ui/ui.base.css" rel="stylesheet" media="all" />

		<link href="<?php echo Yii::app()->theme->baseUrl . '/' ?>css/themes/black_rose/ui.css" rel="stylesheet" title="style" media="all" />

		<!---->
		<!--	<link rel="stylesheet" type="text/css" href="<?php echo Yii::app()->theme->baseUrl; ?>/css/blueprintCSS/screen.css" media="screen, projection" />-->
		<!--	<link rel="stylesheet" type="text/css" href="<?php echo Yii::app()->theme->baseUrl; ?>/css/blueprintCSS/print.css" media="print" />-->
		<!--	[if lt IE 8]>-->
		<!--	<link rel="stylesheet" type="text/css" href="<?php echo Yii::app()->theme->baseUrl; ?>/css/blueprintCSS/ie.css" media="screen, projection" />-->
		<!--	<![endif]-->
		<link rel="stylesheet" type="text/css" href="<?php echo Yii::app()->theme->baseUrl;?>/css/blueprintCSS/main.css" />
		<!--	<link rel="stylesheet" type="text/css" href="<?php echo Yii::app()->theme->baseUrl; ?>/css/blueprintCSS/form.css" />-->

		<!--[if IE 6]>
		<link href="<?php echo Yii::app()->theme->baseUrl . '/' ?>css/ie6.css" rel="stylesheet" media="all" />

		<script src="<?php echo Yii::app()->theme->baseUrl . '/' ?>js/pngfix.js"></script>
		<script>
		/* Fix IE6 Transparent PNG */
		DD_belatedPNG.fix('.logo, ul#dashboard-buttons li a, .response-msg, #search-bar input');

		</script>
		<title><?php echo CHtml::encode($this->pageTitle); ?></title>
		<![endif]-->
	</head>
	<body>
		<div id="page_wrapper">
			<div id="page-header">
				<div id="page-header-wrapper">
					<div id="top">
						<a href="#" class="logo" title="Admintasia V2.0">Admintasia V2.0</a>
						<div class="welcome">
							<span class="note">
								Welcome,
								<a href="#" title="<?php echo Yii::app()->user->name;?>">
								<?php echo Yii::app()->user->name;?>
								</a>
							</span>
							<a class="btn ui-state-default ui-corner-all" href="<?php echo Yii::app()->baseUrl . '/' ?>index.php/backend/default/logout">
							<span class="ui-icon ui-icon-power"></span>
							Logout
							</a>
						</div>
					</div>
					<ul id="navigation">
						<li>
							<a href="#">Admin Management</a>
							<ul>
								<li>
									<a href="<?php echo Yii::app()->baseUrl . '/' ?>index.php/backend/admin/admin">Admin</a>
								</li>
								<li>
									<a href="<?php echo Yii::app()->baseUrl . '/' ?>index.php/backend/admin/create">Create</a>
								</li>
								<li>
									<a href="<?php echo Yii::app()->baseUrl . '/' ?>index.php/backend/admin">View</a>
								</li>
							</ul>
						</li> 
						<li>
							<a href="#">Courses Management</a>
							<ul>
								<li>
									<a href="<?php echo $this->createUrl('courses/admin')?>">List Course</a>
								</li>
								<li>
									<a href="<?php echo $this->createUrl('courses/create')?>">Create Course</a>
								</li>
								<li>
									<a href="<?php echo $this->createUrl('RegistrantExtraFields/admin')?>">Extra Fields Management</a>
								</li>
								<li>
									<a href="<?php echo $this->createUrl('Resources/admin')?>">Resources Management</a>
								</li>
							</ul>
						</li>
						<li>
							<a href="<?php echo $this->createUrl('members/members')?>">Members Management</a>
						</li>

						<li>
							<a href="<?php echo $this->createUrl('announcements/admin')?>">Announcements Management</a>
						</li>
					</ul>
					<!--
					<div id="search-bar">
					<form method="post" action="http://www.google.com/">
					<input type="text" name="q" value="live search demo" />
					</form>
					</div>
					-->
				</div>
			</div>
			<!-- end of header -->
			<!-- ///////////// -->

			<script type="text/javascript" src="<?php echo Yii::app()->theme->baseUrl . '/' ?>
	/js/
	ui/ui.tabs.js">
			</script>
			<div id="sub-nav">
				<div class="page-title">
					<h1>
					<?php echo CHtml::encode($this->pageTitle);?>
					</h1>
					<?php if(isset($this->breadcrumbs)):
					?>
					<?php $this->widget('zii.widgets.CBreadcrumbs', array('links' => $this->breadcrumbs, ));?><!-- breadcrumbs -->
					<?php endif?>
				</div>
				<div id="top-buttons">
					<?php $this->renderPartial('../elements/top_buttons');?>
				</div>
			</div>
			<div id="page-layout">
				<div id="page-content">
					<div id="page-content-wrapper">
						<div class="container">
							<div class="group">
								<div class="span-19">
									<div id="content">
										<?php echo $content;?>
									</div><!-- content -->
								</div>
							</div>
							<?php $this->renderPartial('../elements/sidebar');?>
						</div>
					</div>
				</div>
			</div>
			<!-- start footer -->
			<div class="clear">
			</div>
			<div id="footer">
				<a href="#" title="Home">Home</a> |
				<a href="#" title="Register">Register</a> |
				<a href="#" title="Members Login">Members Login</a> |
				<a href="#" title="About us">About us</a> |
				<a href="#" title="Example link">Example link</a>
			</div>
			<div id="copyright">
				Website Administration by Admintasia, Licensed by
				<a href="http://www.webappskins.com">WebAppSkins</a>
			</div>
			<!-- end of footer -->
			<!-- ///////////// -->
		</div>
	</body>
</html>